Skip to content

Lint benchmarks in CI - #697

Merged
de-code merged 1 commit into
mainfrom
lint-benchmarks-in-ci
Aug 18, 2026
Merged

Lint benchmarks in CI#697
de-code merged 1 commit into
mainfrom
lint-benchmarks-in-ci

Conversation

@de-code

@de-code de-code commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

The Makefile's dev-flake8, dev-pylint and dev-mypy cover benchmarks, but the Docker lint stages did not, so that tree was checked only on a laptop and only by whoever remembered to run make dev-lint. It had been failing on main since #690 as a result.

The two findings it had accumulated go with it. The split gets maxsplit=1, which changes nothing. The empty-list comparison stays as it is, with a disable and a reason: not ... would accept None and the empty string equally, and the empty list is what the function contracts to return.

flake8 and mypy were already clean over benchmarks, so this only widens what they cover.

The Makefile's dev-flake8, dev-pylint and dev-mypy cover benchmarks, but the
Docker lint stages did not, so that tree was checked only on a laptop and
only by whoever remembered to run make dev-lint. It had been failing on main
since #690 as a result.

The two findings it had accumulated go with it. The split gets maxsplit=1,
which changes nothing. The empty-list comparison stays as it is, with a
disable and a reason: `not ...` would accept None and the empty string
equally, and the empty list is what the function contracts to return.

flake8 and mypy were already clean over benchmarks, so this only widens what
they cover.
@de-code de-code self-assigned this Aug 18, 2026
@de-code
de-code merged commit 596b468 into main Aug 18, 2026
6 checks passed
@de-code
de-code deleted the lint-benchmarks-in-ci branch August 18, 2026 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant